<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <title>N-Blaze</title>
    <link rel="stylesheet" href="/static/login/css/style.css">
</head>

<body>
<div class="content">
    <div class="form sign-in">
        <h2>欢迎回来</h2>
        <form action="/login_check/" method="post">
             {% csrf_token %}
            {{ errmsg }}
            <label>
                <span>账号</span>
                <input id="username" type="text" name="username"/>
            </label>
            <label>
                <span>密码</span>
                <input id="password" type="password" name="password"/>
            </label>
{#            <p class="forgot-pass"><a href="javascript:">忘记密码？</a></p>#}
            <button type="submit" class="submit">登录</button>
        </form>
    </div>
    <div class="sub-cont">
        <div class="img">
{#            <div class="img__text m--up">#}
{#                <h2>还未注册？</h2>#}
{#                <p>立即注册，发现大量机会！</p>#}
{#            </div>#}
{#            <div class="img__text m--in">#}
{#                <h2>已有帐号？</h2>#}
{#                <p>有帐号就登录吧，好久不见了！</p>#}
{#            </div>#}
{#            <div class="img__btn">#}
{#                <span class="m--up">注 册</span>#}
{#                <span class="m--in">登 录</span>#}
{#            </div>#}
        </div>
{#        <div class="form sign-up">#}
{#            <h2>立即注册(请先发送邮箱验证码，再输入账号密码)</h2>#}
{#            <form action="/register/" method="post">#}
{#                <label>#}
{#                    <span>用户名</span>#}
{#                    <input type="text" name="username"/>#}
{#                </label>#}
{#                <label>#}
{#                    <span>邮箱</span>#}
{#                    <input type="email" name="email"/>#}
{#                    <button type="submit" class="submit">获取邮箱验证码</button>#}
{#                </label>#}
{#                <label>#}
{#                    <span>验证码</span>#}
{#                    <input type="text" name="code"/>#}
{#                </label>#}
{#                <label>#}
{#                    <span>密码</span>#}
{#                    <input type="password" name="pwd"/>#}
{#                </label>#}
{#                <button type="submit" class="submit">注 册</button>#}
{#            </form>#}
{#        </div>#}
    </div>
</div>

<script src="/static/login/js/script.js"></script>

<script type="text/javascript" src="/static/js/jquery-2.2.4.min.js"></script>
<script src="https://unpkg.com/vue/dist/vue.js"></script>
<script src="https://unpkg.com/http-vue-loader"></script>
<script src="https://unpkg.com/axios@0.23.0/dist/axios.min.js"></script>
</body>

</html>